<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Investment Gateways</title>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<link rel="icon" type="image/jpg" href="images/logo.jpg" />
 <!--<script type="text/javascript" src="images664/jquery-1.3.2.min.js"></script>  -->
 <script type="text/javascript"
	src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript"
	src="sourceScript/ApplicationformScript.js"></script>
	<!-- Required Libraries -->
 <!-- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> -->
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/modernizr/2.7.1/modernizr.min.js"></script>

<!-- Load Menu Specific Files -->
<script src="css/compactmenu.js"></script>
<link rel="stylesheet" type="text/css" href="css/compactmenu.css" />
<script>
$(function() {
	$("#menu1").menu({
		transition: 'inside-slide-fade-left'
	}); 
	 
	$("#menu2").menu({
		theme: 'theme-theme2'
	}); 
	 
	$("#menu3").menu({
		theme: 'theme-theme3',
		transition: 'set3'
	}); 
});
</script>
</head>
<%
	String serviceName = null != request
			.getAttribute("showServiceName") ? request.getAttribute(
			"showServiceName").toString() : "";
	String defaultJspPage = null != request
			.getAttribute("defaultShowServicePage") ? (String) request
			.getAttribute("defaultShowServicePage") : "";
	String UserIDForservice = null != request
			.getAttribute("UserIDForservice") ? (String) request
			.getAttribute("UserIDForservice") : "";
	String showUserToolPage = null != request
			.getAttribute("showUserToolPage") ? (String) request
			.getAttribute("showUserToolPage") : "";
	String toolId = (null != request
			.getParameter("serviceIdForservice")) ? request
			.getParameter("serviceIdForservice") : "";
	String userId = null != request.getSession().getAttribute("UserID") ? (String) request
			.getSession().getAttribute("UserID") : "";

	String defaultShowServicePage = null != request
			.getAttribute("defaultShowServicePage") ? (String) request
			.getAttribute("defaultShowServicePage") : "";

	String ShowUiPage = null != request.getAttribute("ShowUiPage") ? (String) request
			.getAttribute("ShowUiPage") : "";
			
	String listType = null != request.getAttribute("ListType") ? (String)request
			.getAttribute("ListType") : "";
%>
<body>
	<form name="Form1" method="post">
		<input type="hidden" name='service' id="service" value='1'> <input
			type="hidden" value="<%=request.getAttribute("UserIDForservice")%>"
			id="UserIDForservice" name="UserIDForservice"></input> <input
			type="hidden" value="<%=toolId%>" id="serviceIdForservice"
			name="serviceIdForservice"> <input type="hidden"
			value="<%=request.getAttribute("methodName")%>" id="methodName"
			name="methodName"></input> <input type="hidden"
			value="<%=request.getAttribute("shoowMethodName")%>"
			id="shoowMethodName" name="shoowMethodName"></input> <input
			type="hidden" name="userID" id="userID" value='<%=userId%>' /> <input
			type="hidden" name="showServicePage" id="showServicePage" value='' />
		<input type="hidden" value="" id="method123" name="method123"></input>
		<div class="wrapper">

			<!-- Header page included here -->
			<jsp:include page='/Tools/Header.jsp' flush="true" />
			<!-- Ends here -->
			<%
				if ((null != request.getAttribute("showUserPage") || "null"
						.equals(request.getAttribute("showUserPage")))
						&& request.getAttribute("showUserPage").equals("UserPage")) {
			%>
			<div class="innerheader">
				<div class="inner">
					<div class="bredcrumbs">
						<a href="index.jsp"><u><b>Home</b></u></a> <a href="#"> <b>&#187;</b> </a>
						<%if("services".equals(listType)){ %>
						<a href="#"><b>Services</b></a> <a href="#"> <b>&#187;</b> </a>
						<%}else if("queries".equals(listType)){ %>
						<a href="#"><b>Queries</b></a> <a href="#"> <b>&#187;</b> </a>
						<%}%>
						 <a href="#"><%=null!=request.getAttribute("title") ? request.getAttribute("title"):""%></a>
					</div>
					<%-- <h1><%=request.getAttribute("title")%></h1> --%>
				</div>
			</div>
			<%
				if (!"".equals(ShowUiPage)) {
			%>
			<div class="content inner">
				<div class="sidebarmenu">
					<ul id="sidebarmenu1">
					<%if("services".equals(listType)){ %>
					<span><b>Services</b></span>
                <li><a href="#" onclick="UiFrontPageFunction('services~Structuring')" class=""><span>Structuring</span></a></li>
                <div class="container" style="width: 200px;">
			    <div id="menu1">
			      <div class="compactanchor">
			        <br><a href="#">Compliance to the FEMA</a>
			      </div>
                		<ul>
                        <li><a href="#">Foreign Investment in India (Inbound Investment)</a>
                            <ul>
                                <li><a onclick="UiFrontPageFunction('services~Equity')" href="#">Capital & Equity</a></li>
                                <li><a onclick="UiFrontPageFunction('services~Debt')" href="#">Debt</a></li>
                                <li><a onclick="UiFrontPageFunction('services~INCAT')" href="#">Inbound Current Account transactions</a></li>
                                <li><a onclick="UiFrontPageFunction('services~others')" href="#">Setting up of a BO, LO, PO in India</a></li>
                            </ul>
                        </li>
                        <li><a href="#"><span>Overseas Investment (Outbound Investment)</span></a>
                        		<ul>
                                <li><a onclick="UiFrontPageFunction('services~OBEquityDebit')" href="#"><span>Equity & Debt</span></a></li>
                                <li><a onclick="UiFrontPageFunction('services~OBOCAT')" href="#"><span>Outbound Current Account transactions</span></a></li>
                                <li><a onclick="UiFrontPageFunction('services~OBothers')" href="#"><span>Setting up of a branch,  posting representative office abroad</span></a></li>
                            </ul>
                        </li>
                    </ul>
			    </div>
			  </div>
                <li><a href="#" onclick="UiFrontPageFunction('services~Due')" ><span>Due Diligence</span></a></li>	
                <!-- <li><a href="#" onclick="UiFrontPageFunction('services~femaAudit')" ><span>FEMA Audit </span></a></li> -->
                <li><a href="#" onclick="UiFrontPageFunction('services~SFOI')" ><span>Setting up of Offices in India</span></a></li>
                <li><a href="#" onclick="UiFrontPageFunction('services~SFOUTSIDEI')" ><span>Setting up of offices outside India</span></a></li>
                <!--  <li><a href="#" onclick="UiFrontPageFunction('services~SCII')" ><span>Setting up Compliances in India</span></a></li> -->
                 <li><a href="#" onclick="UiFrontPageFunction('services~CFDOII')" ><span>Compliances for different offices in India</span></a></li>
            <%}else if("queries".equals(listType)){

					%>
				
						<span><b>Post your Queries</b>
						</span>
						<%
							if (null == userId || "null".equals(userId)
											|| "".equals(userId)) {
						%>
						<li><a href="#" onclick="UiFrontPageFunction('withoutUser')"><span>BO/PO/LO
									In India</span>
						</a>
						</li>
						<li><a href="#" onclick="UiFrontPageFunction('withoutUser')"><span>Compounding
									of Offences</span>
						</a>
						</li>
						<li><a href="#" onclick="UiFrontPageFunction('withoutUser')"><span>Investment
									by Indian Parties in JV/ WOS (ODI)</span>
						</a>
						</li>
						<li><a href="#" onclick="UiFrontPageFunction('withoutUser')" title='Persons Resident in India either as individual, employee or director in foreign securities (ODI Individual)'>
							<span>ODI Individual</span>
						</a>
						</li>
						<li><a href="#" onclick="UiFrontPageFunction('withoutUser')" title='Investment by persons resident outside India (covering NRI) in securities in India by direct investment. (FDI)'>
							<span>FDI</span>
						</a>
						</li>
						<li><a href="#" onclick="UiFrontPageFunction('withoutUser')" title='Investment by persons resident outside India (covering NRI) in securities in India by transfer of shares.(FDI- Transfer)'>
							<span>FDI- Transfer</span>
						</a>
						</li>
						<li><a href="#" onclick="UiFrontPageFunction('withoutUser')"><span>Borrowing
									/ Deposits in Rupees</span>
						</a>
						</li>
						<li><a href="#" onclick="UiFrontPageFunction('withoutUser')"><span>Foreign
									Exchange Remittance</span>
						</a>
						</li>
						<li><a href="#" onclick="UiFrontPageFunction('withoutUser')"><span>Export
									of Goods and Services</span>
						</a>
						</li>
						<li><a href="#" onclick="UiFrontPageFunction('withoutUser')"><span>Import
									of Goods and Services</span>
						</a>
						</li>
						<li><a href="#" onclick="UiFrontPageFunction('withoutUser')"><span>Branch
									or Office Abroad</span>
						</a>
						</li>
						<li><a href="#" onclick="UiFrontPageFunction('withoutUser')"><span>Immovable
									Property Outside India</span>
						</a>
						</li>
						<li><a href="#" onclick="UiFrontPageFunction('withoutUser')"><span>Immovable
									Property In India</span>
						</a>
						</li>
						<li><a href="#" onclick="UiFrontPageFunction('withoutUser')"><span>External
									Commercial Borrowing</span>
						</a>
						</li>
						<%
							} else {
						%>
						<li><a href="#"
							onclick="UiFrontPageFunction('Postyour~suooii')"><span>BO/PO/LO
									In India</span>
						</a>
						</li>
						<li><a href="#"
							onclick="UiFrontPageFunction('Postyour~compouund')"><span>Compounding
									of Offences</span>
						</a>
						</li>
						<li><a href="#"
							onclick="UiFrontPageFunction('Postyour~IBIP')"><span>Investment
									by Indian Parties in JV/ WOS (ODI)</span>
						</a>
						</li>
						<li><a href="#"
							onclick="UiFrontPageFunction('Postyour~PRIIIFS')" title='Persons Resident in India either as individual, employee or director in foreign securities (ODI Individual)'>
							<span>ODI Individual</span>
						</a>
						</li>
						<li><a href="#"
							onclick="UiFrontPageFunction('Postyour~IIISN')" title='Investment by persons resident outside India (covering NRI) in securities in India by direct investment. (FDI)'>
							<span>FDI</span>
						</a>
						</li>
						<li><a href="#"
							onclick="UiFrontPageFunction('Postyour~IIIS')" title='Investment by persons resident outside India (covering NRI) in securities in India by transfer of shares.(FDI- Transfer)'>
							<span>FDI- Transfer</span>
						</a>
						</li>
						<li><a href="#"
							onclick="UiFrontPageFunction('Postyour~BDIR')"><span>Borrowing
									/ Deposits in Rupees</span>
						</a>
						</li>
						<li><a href="#" onclick="UiFrontPageFunction('Postyour~FER')"><span>Foreign
									Exchange Remittance</span>
						</a>
						</li>
						<li><a href="#"
							onclick="UiFrontPageFunction('Postyour~EOGAS')"><span>Export
									of Goods and Services</span>
						</a>
						</li>
						<li><a href="#"
							onclick="UiFrontPageFunction('Postyour~IOGAS')"><span>Import
									of Goods and Services</span>
						</a>
						</li>
						<li><a href="#"
							onclick="UiFrontPageFunction('Postyour~BOOA')"><span>Branch
									or Office Abroad</span>
						</a>
						</li>
						<li><a href="#"
							onclick="UiFrontPageFunction('Postyour~IPOI')"><span>Immovable
									Property Outside India</span>
						</a>
						</li>
						<li><a href="#"
							onclick="UiFrontPageFunction('Postyour~IPII')"><span>Immovable
									Property In India</span>
						</a>
						</li>
						<li><a href="#" onclick="UiFrontPageFunction('Postyour~ECB')"><span>External
									Commercial Borrowing</span>
						</a>
						</li>

						<%}}else{%>
          				<img src="img/about.jpg" width="190" height='250' style='padding-top:150px;'/>
          				<%} %>
						
					</ul>
				</div>
				<div id="contright" class="innercontent">
					<div style="padding-left: 10px; padding-bottom: 0px;"
						align="center" id="loadingwait" class="d1">
						<b><img alt='Plz wait...' src='images/loading48.gif'
							width="600" height='80' /> </b>
					</div>
					<jsp:include page='<%=ShowUiPage %>' flush="true" />
				</div>
			</div>
			<%
				} else {
			%>

			<h1>
				<span class="style3">Page will be Commming soon...</span>
			</h1>
			<%
				}
			%>

			<%
				} else {
			%>
			<div class="innerheader">
				<div class="inner">
					<div class="bredcrumbs">
						<a href="index.jsp"><u>Home</u> <a href="#"><b>&#187;</b></a> </a> <a href="#"><%=request.getAttribute("TOOLName")%></a>
					</div>
					<%-- <h1><%=request.getAttribute("TOOLName")%></h1> --%>
				</div>
			</div>
			<div class="content inner">
				<div class="sidebarmenu">
					<h2><%=request.getAttribute("TOOLName")%></h2>
					<ul id="sidebarmenu1">
						<%
							if (null == userId || "null".equals(userId)
										|| "".equals(userId)) {
						%>
						<li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')"><%=request.getAttribute("showServiceName")%></a>
						</li>
						<li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')">ARTICLES</a>
						</li>
						<li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')">CASE
								LAWS</a></li>
						<li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')">CIRCULARS</a>
						</li>
						<li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')">MASTER
								CIRCULARS</a></li>
						<li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')">NOTIFICATIONS</a>
						</li>
						<li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')">PRESS
								NOTES</a></li>
						<li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')">FORMS
								& CHECKLISTS</a></li>
						<li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')">DEFINITIONS</a>
						</li>
						<li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')">FAQ's</a>
						</li>
						<%
							} else {
						%>
						<li id="#Tool"><a href="#"
							onclick="ShowToolApplication('<%=toolId%>')"><%=request.getAttribute("showServiceName")%></a>
						</li>
						<li id="#Art"><a href="#" onclick="ShowBodyApp('Articles')">ARTICLES</a>
						</li>
						<li id="#Caselaw"><a href="#"
							onclick="ShowBodyApp('CaseLaws')">CASE LAWS</a></li>
						<li id="#Circular"><a href="#"
							onclick="ShowBodyAppfor3('Circulars')">CIRCULARS</a></li>
						<li id="#Mcircular"><a href="#"
							onclick="ShowBodyApp('MasterCirculars')">MASTER CIRCULARS</a></li>
						<li id="#Notification"><a href="#"
							onclick="ShowBodyAppfor3('Notifications')">NOTIFICATIONS</a></li>
						<li id="#Pressnote"><a href="#"
							onclick="ShowBodyApp('PressNotes')">PRESS NOTES</a></li>
						<li id="#forms"><a href="#"
							onclick="ShowBodyApp('FormsNChecklists')">FORMS & CHECKLISTS</a>
						</li>
						<li id="#Faqs"><a href="#"
							onclick="ShowBodyAppfor3('DEFINITIONS')">DEFINITIONS</a></li>
						<li id="#Definations"><a href="#"
							onclick="ShowBodyApp('FAQ')">FAQ's</a></li>
						<%
							}
						%>
					</ul>
				</div>
				<script type="text/javascript" src="sourceScript/UIformScript.js"></script>
				<div id="contright" class="innercontent">
					<div style="padding-left: 10px; padding-bottom: 0px;"
						align="center" id="loadingwait" class="d1">
						<b><img alt='Plz wait...' src='images/loading48.gif'
							width="600" height='80' /> </b>
					</div>
					<%
						if ("".equals(showUserToolPage)) {
					%><%=defaultShowServicePage %>
					<jsp:include page='<%=defaultShowServicePage %>' flush="true" />

					<%
						}
					%>
					<%
						if (!"".equals(showUserToolPage)) {
					%>'<%=showUserToolPage %>
					<jsp:include page='<%=showUserToolPage %>' flush="true" />
					<%
						}
					%>
				</div>
				<input type="hidden" name="userId" id="userId"
					value='<%=request.getAttribute("UserID")%>' />
			</div>
			<%
				}
			%>
			<script>document.getElementById("loadingwait").style.display="none";</script>

			<!-- Footer page included here -->
			<jsp:include page='/Tools/Footer.jsp' flush="true" />
			<!-- Ends here -->

		</div>
		<!-- Wrapper Ends here-->
	</form>
</body>
</html>